package wsserver

// BroadcastFeature 广播辅助功能
type BroadcastFeature struct{}

func (b BroadcastFeature) Send(clients []*Client, msg interface{}) {
	for _, c := range clients {
		c.SendMessage(msg)
	}
}
